<div class="bjui-pageHeader" id="develop_plan_list_div">
    <form id="pagerForm" data-toggle="ajaxsearch" action="/developPlan/queryList" method="post">
        <div class="bjui-searchBar">
            <label>所属版本:</label>
            <select name="projectId" id="projectId" style="width: 150px" data-toggle="selectpicker"
                    data-rule="required">
                <#list projectList as item>
                    <option ${item.selected} value="${item.id?c}">${item.name}</option>
                </#list>

            </select>
            &nbsp;
            &nbsp;
            <label>状态:</label>
            <select name="status" id="status" style="width: 150px" data-toggle="selectpicker">
                <option value="">[请选择]</option>
                <#list statusList as item>
                    <option ${item.selected} value="${item.id?c}">${item.name}</option>
                </#list>

            </select>
            &nbsp;
            &nbsp;
            <label>开发者姓名:</label>
            <input type="text" name="developName" id="developName" value="${bo.developName!""}"
                   size="15">
            &nbsp;
            &nbsp;
            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);"
               data-icon="undo">清空查询</a>
            <div class="pull-right">
                <div class="btn-group">

                    <a href="/developPlan/update?id={#bjui-selected}" class="btn btn-blue" data-toggle="dialog"
                       data-id="sys_user_edit"
                       data-width="1400" data-height="300" data-mask="true" data-warn="请选择信息">
                        编辑
                    </a>

                    <a href="/developPlan/del?id={#bjui-selected}" data-confirm-msg="确定要删除选中项吗？" class="btn btn-red"
                       data-toggle="doajax" data-warn="请选择信息">
                        删除
                    </a>
                    <a href="/developPlan/add" class="btn btn-blue" data-toggle="dialog" data-id="develop_plan_div"
                       data-width="1400" data-height="300" data-mask="true">
                        新增
                    </a>
                </div>
                &nbsp;
                &nbsp;
                <div class="btn-group">
                    <a href="../template/开发进度表模板.xls" class="btn btn-blue">下载模板</a>
                    <a href="/developPlan/import" class="btn btn-green" data-toggle="dialog"
                       data-id="develop_import_div"
                       data-width="800" data-height="200" data-mask="true">导入模板</a>
                    <a href="javascript:;" class="btn btn-blue" id="exportBtn">导出结果</a>
                </div>
            </div>
        </div>
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
        <thead>
        <tr>
            <th width="50" data-order-field="operation">系统</th>
            <th width="14exeeeeeeeeeeee0" data-order-field="name">任务模块</th>
            <th width="40" data-order-field="mobile">优先级</th>
            <th width="30" data-order-field="mobile">状态</th>
            <th width="50" data-order-field="mobile">每日进度</th>
            <th width="50" data-order-field="mobile">后端开发</th>
            <th width="50" data-order-field="mobile">后端开发<br>时间（天）</th>
            <th width="50" data-order-field="mobile">后端开发<br>完成时间</th>
            <th width="50" data-order-field="mobile">后端实际完<br>成时间（天</th>
            <th width="50" data-order-field="mobile">开发联<br>调时间</th>
            <th width="50" data-order-field="mobile">前端开<br>发人员</th>
            <th width="50" data-order-field="mobile">前端开发<br>时间（天）</th>
            <th width="50" data-order-field="mobile">实际联调<br>时间（天）</th>
            <th width="50" data-order-field="mobile">提测时间</th>
            <th width="50" data-order-field="mobile">测试完<br>成日期</th>
            <th width="50" data-order-field="mobile">测试时<br>间（天）</th>
            <th width="50" data-order-field="mobile">测试人员</th>
            <th width="50" data-order-field="mobile">实际测试<br>时间（天）</th>
        </tr>
        </thead>
        <tbody>
        <#list list as bo>
            <tr data-id="${bo.id?c}" ids="${bo.id?c}">
                <td title="${bo.systemName!""}">${bo.systemName!""}</td>
                <td title="${bo.modelName!""}">${bo.modelName!""}</td>
                <td title="${bo.level!"0"}">${bo.level!"0"}</td>
                <td title="${bo.showStatus!""}">${bo.showStatus!""}</td>
                <td title="${bo.dayRate!""}%">${bo.dayRate!""}%</td>
                <td title="${bo.javaer!""}">${bo.javaer!""}</td>
                <td title="${bo.javaDeveTime!""}">${bo.javaDeveTime!""}</td>
                <td title="${bo.showJavaDeveFinishTime!""}">${bo.showJavaDeveFinishTime!""}</td>
                <td title="${bo.javaDeveActualTime!""}">${bo.javaDeveActualTime!""}</td>
                <td title="${bo.showJointDebugTime!""}">${bo.showJointDebugTime!""}</td>
                <td title="${bo.weber!""}">${bo.weber!""}</td>
                <td title="${bo.webDeveTime!""}">${bo.webDeveTime!""}</td>
                <td title="${bo.jointDebugActualTime!""}">${bo.jointDebugActualTime!""}</td>
                <td title="${bo.showTestStartTime!""}">${bo.showTestStartTime!""}</td>
                <td title="${bo.showTestFinishTime!""}">${bo.showTestFinishTime!""}</td>
                <td title="${bo.testTime!""}">${bo.testTime!""}</td>
                <td title="${bo.tester!""}">${bo.tester!""}</td>
                <td title="${bo.testActualTime!""}">${bo.testActualTime!""}</td>

            </tr>
        </#list>
        </tbody>
    </table>
</div>
<#--<div class="bjui-pageFooter">
    <div class="pages">
        <span>每页&nbsp;</span>
        <div class="selectPagesize">
            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
                <option value="30">30</option>
                <option value="60">60</option>
                <option value="120">120</option>
                <option value="150">150</option>
            </select>
        </div>
        <span>&nbsp;条，共 600 条</span>
    </div>
    <div class="pagination-box" data-toggle="pagination" data-total="600" data-page-size="30" data-page-current="1">
    </div>
</div>-->
<form id="exportForm" action="/developPlan/export" method="post">
    <input type="hidden" name="projectId" id="exProjectId">
    <input type="hidden" name="status" id="exStatus">
    <input type="hidden" name="developName" id="exDevelopName">
</form>
<script type="text/javascript">
    window.setTimeout(function () {
        window.clearInterval(setCountInter);
    }, 7);

    $("#exportBtn").click(function () {
        $("#exProjectId").val($("#develop_plan_list_div #projectId").val());
        $("#exStatus").val($("#develop_plan_list_div #status").val());
        $("#exDevelopName").val($("#develop_plan_list_div #developName").val());
        $("#exportForm").submit();
    });
</script>